import HR from './axios'
// demo
// export const axios1 = () => HR('get', `api`)
// export const axios1 = params => HR('get', `api`, params)
// export const axios1 = id => HR('get', `api?id=${id}`)
// export const axios2 = data => HR('post', `api`, data)

/** 获取列表 */
export const getList = () => HR('get', `/dify/report/list`)

/** 新增 */
export const addUserActivity = data => HR('post', `/dify/report/add`, data)

/** 编辑 */
export const editUserActivity = data => HR('post', `/dify/report/edit`, data)

/** 删除 */
export const removeUserActivity = ids => HR('post', `/dify/report/remove/${ids}`)

/** 上传图片 */
export const addFile = data => HR('post', `/dify/report/upload`, data)

/** 活动详情 */
export const getDetail = id => HR('get', `/dify/report/detail/${id}`)
